
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>[Python派] 将Python程序(.py)转换为Windows可执行文件(.exe) · StarsAndClown</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="zhaoolee">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-disqus/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../zh-hans/styles/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html" />
    
    
    <link rel="prev" href="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"zhaoolee","repo":"StarsAndClown","type":"star","size":"large","count":true},{"user":"zhaoolee","type":"follow","width":"230","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="qi-liao-699c5d-wu-bug-cang-ku.html">
            
                <a href="qi-liao-699c5d-wu-bug-cang-ku.html">
            
                    
                    [弃疗榜] 无bug仓库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="qi-liao-699c5d-mie-ba-xiang-zhi-jiao-ben.html">
            
                <a href="qi-liao-699c5d-mie-ba-xiang-zhi-jiao-ben.html">
            
                    
                    [弃疗榜] 灭霸响指脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="qi-liao-699c5d-yang-chao-yue-github-hou-yuan-hui.html">
            
                <a href="qi-liao-699c5d-yang-chao-yue-github-hou-yuan-hui.html">
            
                    
                    [弃疗榜] 杨超越github后援会
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="qi-liao-699c5d-fan-qiang-fang-fa-ji-he.html">
            
                <a href="qi-liao-699c5d-fan-qiang-fang-fa-ji-he.html">
            
                    
                    [弃疗榜] 翻墙方法集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="qi-liao-699c5d-xue-xi-qiang-guo-shua-shi-chang.html">
            
                <a href="qi-liao-699c5d-xue-xi-qiang-guo-shua-shi-chang.html">
            
                    
                    [弃疗榜] 学习强国刷时长
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="qi-liao-699c5d22-guo-9a8222-ming-ling-xing-shen-qi-thefuke.html">
            
                <a href="qi-liao-699c5d22-guo-9a8222-ming-ling-xing-shen-qi-thefuke.html">
            
                    
                    [弃疗榜] "国骂"命令行神器 thefuke!
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html">
            
                <a href="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html">
            
                    
                    [弃疗榜] 女装大佬库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="xin-shou-shang-8def5d-300a-yong-hexo-zai-github-jian-li-ge-ren-bo-ke-300b.html">
            
                <a href="xin-shou-shang-8def5d-300a-yong-hexo-zai-github-jian-li-ge-ren-bo-ke-300b.html">
            
                    
                    [新手上路] 用HEXO在Github建立个人博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html">
            
                <a href="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html">
            
                    
                    [开源工具] 开源工具将Markdown格式转换为微信公众号格式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="kai-yuan-gong-51775d-ben-di-bo-fang-b-zhan-hui-yuan-shi-pin-ji-dan-5e552c-kai-yuan-gong-ju-you-get-shi-yong-gong-lve.html">
            
                <a href="kai-yuan-gong-51775d-ben-di-bo-fang-b-zhan-hui-yuan-shi-pin-ji-dan-5e552c-kai-yuan-gong-ju-you-get-shi-yong-gong-lve.html">
            
                    
                    [开源工具] 本地播放B站会员视频及弹幕, 开源工具you-get使用攻略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="kai-yuan-gong-51775d-yong-aria2-jie-chu-bai-du-wang-pan-xian-su.html">
            
                <a href="kai-yuan-gong-51775d-yong-aria2-jie-chu-bai-du-wang-pan-xian-su.html">
            
                    
                    [开源工具] 用Aria2解除百度网盘限速
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="kai-yuan-gong-51775d-gu-ge-zai-xian-ya-suo-tu-pian.html">
            
                <a href="kai-yuan-gong-51775d-gu-ge-zai-xian-ya-suo-tu-pian.html">
            
                    
                    [开源工具] 谷歌在线压缩图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="ke-xue-shang-7f515d-yong-brook-bu-shu-yi-ge-jian-dan-wen-ding-sha-gua-de-ke-xue-shang-wang-gong-ju.html">
            
                <a href="ke-xue-shang-7f515d-yong-brook-bu-shu-yi-ge-jian-dan-wen-ding-sha-gua-de-ke-xue-shang-wang-gong-ju.html">
            
                    
                    [科学上网] 用Brook部署一个简单稳定傻瓜的科学上网工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="qian-duan-kai-53d15d-chun-cui-de-css-dong-hua-ku.html">
            
                <a href="qian-duan-kai-53d15d-chun-cui-de-css-dong-hua-ku.html">
            
                    
                    [前端开发] 纯粹的Css动画库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="qian-duan-kai-53d15d-markdown-zhuan-html.html">
            
                <a href="qian-duan-kai-53d15d-markdown-zhuan-html.html">
            
                    
                    [前端开发] Markdown转Html
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html">
            
                <a href="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html">
            
                    
                    [Python派] 3行代码发邮件(含发送图片)
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.18" data-path="python6d3e5d-jiang-python-cheng-5e8f28-py-zhuan-huan-wei-windows-ke-zhi-xing-wen-4ef628-exe.html">
            
                <a href="python6d3e5d-jiang-python-cheng-5e8f28-py-zhuan-huan-wei-windows-ke-zhi-xing-wen-4ef628-exe.html">
            
                    
                    [Python派] 将Python程序(.py)转换为Windows可执行文件(.exe)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html">
            
                <a href="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html">
            
                    
                    [设计资源] Adobe思源黑体下载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="kai-yuan-yue-8bfb5d-shen-du-xue-xi-500-wen.html">
            
                <a href="kai-yuan-yue-8bfb5d-shen-du-xue-xi-500-wen.html">
            
                    
                    [开源阅读] 深度学习500问
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="kai-yuan-yue-8bfb5d-teng-xun-ivweb-ji-zhu-zhou-kan.html">
            
                <a href="kai-yuan-yue-8bfb5d-teng-xun-ivweb-ji-zhu-zhou-kan.html">
            
                    
                    [开源阅读] 腾讯IVWEB技术周刊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="kai-yuan-yue-8bfb5d-ruan-yi-feng-ji-zhu-fen-xiang-zhou-520a2c-mei-zhou-wu-geng-xin.html">
            
                <a href="kai-yuan-yue-8bfb5d-ruan-yi-feng-ji-zhu-fen-xiang-zhou-520a2c-mei-zhou-wu-geng-xin.html">
            
                    
                    [开源阅读] 阮一峰技术分享周刊,每周五更新
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.23" data-path="kai-yuan-yue-8bfb5d-hellogithub-fen-xiang-github-ru-men-ji-kai-yuan-xiang-mu.html">
            
                <a href="kai-yuan-yue-8bfb5d-hellogithub-fen-xiang-github-ru-men-ji-kai-yuan-xiang-mu.html">
            
                    
                    [开源阅读] HelloGithub, 分享GitHub入门级开源项目
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24" data-path="kai-yuan-you-620f5d-e-luo-si-fang-kuai.html">
            
                <a href="kai-yuan-you-620f5d-e-luo-si-fang-kuai.html">
            
                    
                    [开源游戏]俄罗斯方块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25" data-path="kai-yuan-gong-51775d-switchhosts-geng-fang-bian-di-qie-huan-hosts.html">
            
                <a href="kai-yuan-gong-51775d-switchhosts-geng-fang-bian-di-qie-huan-hosts.html">
            
                    
                    [开源工具]SwitchHosts!更方便地切换hosts
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.26" data-path="she-ji-zi-6e905d-ppt-que-shao-tu-biao-su-67503f-shi-shi-font-awasome-542721.html">
            
                <a href="she-ji-zi-6e905d-ppt-que-shao-tu-biao-su-67503f-shi-shi-font-awasome-542721.html">
            
                    
                    [设计资源] PPT缺少图标素材? 试试Font Awasome吧!
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.27" data-path="kai-yuan-you-620f5d-da-zi-su-du-61623f-wan-yi-wan-zi-you-gang-qin-54277e.html">
            
                <a href="kai-yuan-you-620f5d-da-zi-su-du-61623f-wan-yi-wan-zi-you-gang-qin-54277e.html">
            
                    
                    [开源游戏] 打字速度慢?玩一玩自由钢琴吧~
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.28" data-path="cxk.html">
            
                <a href="cxk.html">
            
                    
                    [开源游戏] CXK, 出来打球!
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >[Python派] 将Python程序(.py)转换为Windows可执行文件(.exe)</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h4 id="python&#x5F00;&#x53D1;&#x8005;&#x5411;&#x666E;&#x901A;windows&#x7528;&#x6237;&#x5206;&#x4EAB;&#x7A0B;&#x5E8F;&#x8981;&#x7ED9;&#x7A0B;&#x5E8F;&#x52A0;&#x56FE;&#x5F62;&#x5316;&#x7684;&#x754C;&#x9762;-&#x4F20;&#x9001;&#x95E8;&#x8FD9;&#x53EF;&#x80FD;&#x662F;&#x6700;&#x597D;&#x73A9;&#x7684;python-gui&#x5165;&#x95E8;&#x5B9E;&#x4F8B;-&#x5E76;&#x8981;&#x5C06;&#x8F6F;&#x4EF6;&#x6253;&#x5305;&#x4E3A;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;exe&#x7ED3;&#x5C3E;&#x5982;&#x4F55;&#x5C06;py&#x8F6C;&#x4E3A;exe-">python&#x5F00;&#x53D1;&#x8005;&#x5411;&#x666E;&#x901A;windows&#x7528;&#x6237;&#x5206;&#x4EAB;&#x7A0B;&#x5E8F;,&#x8981;&#x7ED9;&#x7A0B;&#x5E8F;&#x52A0;&#x56FE;&#x5F62;&#x5316;&#x7684;&#x754C;&#x9762; &#x4F20;&#x9001;&#x95E8;:<a href="http://www.jianshu.com/p/8abcf73adba3" target="_blank">&#x8FD9;&#x53EF;&#x80FD;&#x662F;&#x6700;&#x597D;&#x73A9;&#x7684;python GUI&#x5165;&#x95E8;&#x5B9E;&#x4F8B;! </a>,&#x5E76;&#x8981;&#x5C06;&#x8F6F;&#x4EF6;&#x6253;&#x5305;&#x4E3A;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;(.exe&#x7ED3;&#x5C3E;),&#x5982;&#x4F55;&#x5C06;.py&#x8F6C;&#x4E3A;.exe ?</h4>
<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/52d1b4fb4dcfa5f405063a827e750b58.png" alt="&#x5C06;.py&#x8F6C;&#x4E3A;.exe"></p>
</blockquote>
<h2 id="&#x7B2C;&#x4E00;&#x6B65;&#x5B89;&#x88C5;pyinstaller&#x4E34;&#x65F6;&#x8C03;&#x7528;&#x4E86;&#x56FD;&#x5185;&#x8C46;&#x74E3;&#x955C;&#x50CF;&#x6E90;&#x8FD9;&#x6837;&#x4E0B;&#x8F7D;&#x6BD4;&#x8F83;&#x5FEB;">&#x7B2C;&#x4E00;&#x6B65;:&#x5B89;&#x88C5;pyinstaller(&#x4E34;&#x65F6;&#x8C03;&#x7528;&#x4E86;&#x56FD;&#x5185;&#x8C46;&#x74E3;&#x955C;&#x50CF;&#x6E90;,&#x8FD9;&#x6837;&#x4E0B;&#x8F7D;&#x6BD4;&#x8F83;&#x5FEB;)</h2>
<p><code>pip install pyinstaller -i https://pypi.douban.com/simple</code></p>
<h2 id="&#x7B2C;&#x4E8C;&#x6B65;&#x66F4;&#x6539;&#x7F16;&#x7801;&#x65B9;&#x5F0F;window&#x7528;&#x6237;&#x4E13;&#x7528;">&#x7B2C;&#x4E8C;&#x6B65;:&#x66F4;&#x6539;&#x7F16;&#x7801;&#x65B9;&#x5F0F;(window&#x7528;&#x6237;&#x4E13;&#x7528;)</h2>
<blockquote>
<p>&#x7531;&#x4E8E;windows&#x9ED8;&#x8BA4;&#x7F16;&#x7801;&#x662F;gbk,&#x800C;&#x6211;&#x4EEC;&#x7684;&#x5F00;&#x53D1;&#x73AF;&#x5883;(unix&#x73AF;&#x5883;)&#x9ED8;&#x8BA4;&#x7F16;&#x7801;&#x4F7F;&#x7528;utf-8,&#x4E3A;&#x89E3;&#x51B3;&#x7F16;&#x7801;&#x95EE;&#x9898;,&#x6211;&#x4EEC;&#x9700;&#x8981;&#x5BF9;pyinstaller&#x6E90;&#x7801;&#x8FDB;&#x884C;&#x4E00;&#x4E9B;&#x4FEE;&#x6539;</p>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/db36ef27de397f4c7759d7200feecde4.png" alt="&#x4FEE;&#x6539;&#x8BFB;&#x53D6;&#x65B9;&#x5F0F;&#x4E3A;:utf-8">
&#x5C06;<code>pyinstaller</code>&#x4E2D;winmainifest.py&#x4E2D;&#x7684;&#x7B2C;1075&#x884C;,&#x4FEE;&#x6539;&#x4E3A;<code>with open(filename,encoding=&quot;UTF-8&quot;) as f:</code></p>
<p><code>winmainifest.py</code>&#x7684;&#x4F4D;&#x7F6E;:<code>C:\Program Files (x86)\Python36-32\Lib\site-packages\PyInstaller\utils\win32\winmanifest.py</code>,&#x5982;&#x679C;&#x627E;&#x4E0D;&#x5230;,&#x53EF;&#x4EE5;&#x5148;&#x5C1D;&#x8BD5;&#x7B2C;&#x4E09;&#x6B65;,&#x5982;&#x679C;&#x8F6C;&#x6362;&#x8FC7;&#x7A0B;&#x62A5;&#x9519;,&#x4F1A;&#x6253;&#x5370;&#x51FA;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5728;&#x672C;&#x673A;&#x7684;&#x4F4D;&#x7F6E;.
&#x5982;&#x679C;&#x6743;&#x9650;&#x4E0D;&#x591F;&#xFF0C;&#x65E0;&#x6CD5;&#x4FDD;&#x5B58;&#x4FEE;&#x6539;&#xFF0C;&#x53EF;&#x4EE5;&#x5148;&#x5C06;&#x4FEE;&#x6539;&#x540E;&#x7684;&#x6587;&#x4EF6;,&#x4FDD;&#x5B58;&#x5230;&#x684C;&#x9762;(&#x4FDD;&#x6301;&#x539F;&#x6765;&#x7684;&#x6587;&#x4EF6;&#x540D;)&#xFF0C;&#x7528;&#x684C;&#x9762;&#x7684;&#x6587;&#x4EF6;&#x66FF;&#x6362;&#x539F;&#x76EE;&#x5F55;&#x4E2D;&#x7684;&#x6587;&#x4EF6;&#x5373;&#x53EF;!</p>
</blockquote>
<h2 id="&#x7B2C;&#x4E09;&#x6B65;&#x5C06;py&#x8F6C;&#x6362;&#x4E3A;exe">&#x7B2C;&#x4E09;&#x6B65;:&#x5C06;.py&#x8F6C;&#x6362;&#x4E3A;.exe</h2>
<p>&#xFF1E; &#x8FD9;&#x91CC;&#x4EE5;&#xFF40;Python GUI&#x5165;&#x95E8;&#x5B9E;&#x4F8B;&#xFF40;&#x4E3A;&#x4F8B;&#xFF08;Python GUI&#x5165;&#x95E8;&#x5B9E;&#x4F8B;&#x4F20;&#x9001;&#x95E8;&#xFF1A;<a href="http://www.jianshu.com/p/8abcf73adba3&#xFF09;" target="_blank">http://www.jianshu.com/p/8abcf73adba3&#xFF09;</a></p>
<p>&#x547D;&#x4EE4;:<code>pyinstaller --onefile 011&#x6839;&#x636E;ip&#x67E5;&#x8BE2;&#x5730;&#x7406;&#x4F4D;&#x7F6E;.py</code>
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/898e3f384c72c87c25d9301d4a3b3aac.png" alt="&#x521B;&#x5EFA;&#x6253;&#x5305;&#x4E3A;.exe&#x6587;&#x4EF6;"></p>
<h1 id="&#x7B2C;&#x56DB;&#x6B65;&#x8FD0;&#x884C;&#x6D4B;&#x8BD5;">&#x7B2C;&#x56DB;&#x6B65;:&#x8FD0;&#x884C;&#x6D4B;&#x8BD5;</h1>
<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/a4e9c09ef3e409933368384283433332.png" alt="&#x7F16;&#x8BD1;&#x540E;&#x7684;&#x76EE;&#x5F55;"></p>
<p>&#x751F;&#x6210;&#x7684;.exe&#x6587;&#x4EF6;&#x5728;dist&#x6587;&#x4EF6;&#x5939;&#x5185;</p>
</blockquote>
<h4 id="&#x5C06;&#x6570;&#x636E;&#x5E93;&#x6587;&#x4EF6;geolitecitydat&#x62F7;&#x8D1D;&#x5230;dist&#x6587;&#x4EF6;&#x5939;&#x4E2D;">&#x5C06;&#x6570;&#x636E;&#x5E93;&#x6587;&#x4EF6;GeoLiteCity.dat&#x62F7;&#x8D1D;&#x5230;dist&#x6587;&#x4EF6;&#x5939;&#x4E2D;</h4>
<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/638b061abba9f5a97c8fd12b822a7ed6.png" alt="&#x5B8C;&#x6574;&#x7684;&#x7A0B;&#x5E8F;"></p>
</blockquote>
<h4 id="&#x8FD0;&#x884C;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;exe">&#x8FD0;&#x884C;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;(.exe)</h4>
<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/34d076811c9b03adc8b0a605ea5aa767.png" alt="&#x4EE5;&#x7BA1;&#x7406;&#x5458;&#x8EAB;&#x4EFD;&#x8FD0;&#x884C;"></p>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/98bac13f18104c0a98e4279a158da5e2.png" alt="&#x6210;&#x529F;&#x8FD0;&#x884C;&#x6548;&#x679C;"></p>
</blockquote>
<hr>
<h4 id="&#x672C;&#x4ED3;&#x5E93;github&#x94FE;&#x63A5;-httpsgithubcompyinstallerpyinstaller">&#x672C;&#x4ED3;&#x5E93;Github&#x94FE;&#x63A5;: <a href="https://github.com/pyinstaller/pyinstaller" target="_blank">https://github.com/pyinstaller/pyinstaller</a></h4>
<hr>
<h2 id="&#x5199;&#x5728;&#x6700;&#x540E;&#x6211;&#x9700;&#x8981;&#x4F60;&#x7684;&#x652F;&#x6301;">&#x5199;&#x5728;&#x6700;&#x540E;(&#x6211;&#x9700;&#x8981;&#x4F60;&#x7684;&#x652F;&#x6301;)</h2>
<ul>
<li><p>&#x672C;&#x6587;&#x5C5E;&#x4E8E;<strong>Github&#x661F;&#x805A;&#x5F03;&#x7597;&#x699C;</strong> &#x9879;&#x76EE;&#x7684;&#x4E00;&#x90E8;&#x5206;, &#x9879;&#x76EE;Github&#x5730;&#x5740;: <a href="https://github.com/zhaoolee/StarsAndClown" target="_blank">https://github.com/zhaoolee/StarsAndClown</a></p>
</li>
<li><p><strong>Github&#x661F;&#x805A;&#x5F03;&#x7597;&#x699C;</strong>, &#x4E3A;Github&#x4F18;&#x79C0;&#x521B;&#x610F;&#x9879;&#x76EE;&#x5199;&#x4E00;&#x5C01;&#x63A8;&#x8350;&#x4FE1;&#xFF0C;&#x8BA9;Github&#x4F18;&#x79C0;&#x9879;&#x76EE;&#x9020;&#x798F;&#x4EBA;&#x7C7B;~, &#x5982;&#x679C;&#x4F60;&#x559C;&#x6B22;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;, &#x5E0C;&#x671B;&#x4F60;&#x80FD;&#x4E3A;&#x672C;&#x9879;&#x76EE;&#x6DFB;&#x52A0;&#x4E00;&#x9897; &#x1F31F;&#x661F;.</p>
</li>
<li><p>StarsAndClown, Write a letter of recommendation for Github&apos;s outstanding creative projects, and let Github&apos;s outstanding projects benefit mankind~, If you like this project, I hope you can add a star &#x1F31F; to this project.</p>
</li>
</ul>
<footer class="page-footer"><span class="copyright">Copyright zhaoolee@gmail.com all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2019-06-06 13:04:58
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html" class="navigation navigation-prev " aria-label="Previous page: [Python派] 3行代码发邮件(含发送图片)">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html" class="navigation navigation-next " aria-label="Next page: [设计资源] Adobe思源黑体下载">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"[Python派] 将Python程序(.py)转换为Windows可执行文件(.exe)","level":"1.18","depth":1,"next":{"title":"[设计资源] Adobe思源黑体下载","level":"1.19","depth":1,"path":"page/she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.md","ref":"page/she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.md","articles":[]},"previous":{"title":"[Python派] 3行代码发邮件(含发送图片)","level":"1.17","depth":1,"path":"page/pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.md","ref":"page/pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.md","articles":[]},"dir":"ltr"},"config":{"plugins":["disqus","github","3-ba","ga","github-buttons","-sharing","sharing-plus","-lunr","-search","search-plus","splitter","tbfed-pagefooter","donate","sitemap-general"],"styles":{"website":"zh-hans/styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright zhaoolee@gmail.com","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"disqus":{"useIdentifier":false,"shortName":"zhaoolee"},"github":{"url":"https://github.com/zhaoolee/StarsAndClown"},"splitter":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"donate":{"title":"","button":"咦?","wechat":"https://user-images.githubusercontent.com/15868458/62830339-e1470400-bc3f-11e9-9851-3cf72d04d7b5.png","alipay":"","wechatText":"微信赞赏","alipayText":"支付宝打赏"},"sitemap-general":{"prefix":"https://zhaoolee.com/StarsAndClown/"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"github-buttons":{"buttons":[{"user":"zhaoolee","repo":"StarsAndClown","type":"star","size":"large","count":true},{"user":"zhaoolee","type":"follow","width":"230","count":true}]},"3-ba":{"configuration":"auto","token":"58db316ae8a39f946e264dae4c0b0dd4"},"ga":{"configuration":"auto","token":"UA-129665260-2"},"sharing":{"qq":false,"all":["weibo","qq","qzone","google","douban"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","author":"zhaoolee","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"StarsAndClown","language":"zh-hans","gitbook":"*","description":"☀️Github星聚弃疗榜, 让吃瓜群众也能享受Github带来的乐趣~Github StarsAndClown, Let the people who eat me can enjoy the fun of Github~"},"file":{"path":"page/python6d3e5d-jiang-python-cheng-5e8f28-py-zhuan-huan-wei-windows-ke-zhi-xing-wen-4ef628-exe.md","mtime":"2019-06-06T05:04:58.305Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-25T11:05:15.159Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.16.1/URI.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-disqus/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-3-ba/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ga/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

